package zh.codegym.task.task04.task0424;

/* 
三个数字
*/

import java.io.*;
import java.util.Scanner;

public class Solution {
    public static void main(String[] args) throws Exception {
        //在此编写你的代码
        //在此编写你的代码
        Scanner scanner = new Scanner(System.in);

        int number1 = scanner.nextInt();
        int number2 = scanner.nextInt();
        int number3 = scanner.nextInt();

        if(number1 == number2){
            System.out.println(3);
        }
        if(number1 == number3){
            System.out.println(2);
        }
        if(number2 == number3){
            System.out.println(1);
        }

    }
}
